<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    
    <title>Display a map with custom SVG markers</title>
    <link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />
    <link rel="stylesheet" type="text/css" href="demo.css" />
    <link rel="stylesheet" type="text/css" href="styles.css" />
    <link rel="stylesheet" type="text/css" href="../template.css" />
    <script type="text/javascript" src='../test-credentials.js'></script>    
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-core.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-service.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-ui.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js"></script>
  </head>
  <body id="markers-on-the-map">
    
    <div class="page-header">
        <h1>SVG Graphic Markers</h1>
        <p>Display a map with custom SVG markers</p>
    </div>
    <p>This example displays a movable map of <b>Chicago</b> with two individually 
      colored SVG markers highlighting the location of <b>Soldier Field</b> <i>(41.8625°N, 87.6166°W)</i>
      and <b>Wrigley Field</b> <i>(41.9483°N, 87.6555°W)</i>. These locations are the home of the 
      Chicago Bears and Chicago Cubs respectively, and each marker displays the letter <b>C</b> in the correct club colors.</p>
    <div id="map"></div>
    <script type="text/javascript" src='demo.js'></script>
    <h3>Code</h3>
    <p>SVG Graphics images are created using the <code>H.map.Icon</code> class. The icon is added as a parameter when creating an <code>H.map.Marker</code>.</p>
  </body>
</html>
